package com.aspose.cells;

import java.util.Iterator;

class zbcq implements zahv {
   private zig b;
   private zpu c;
   private zsq d = null;
   private zsq e = null;
   private zalw f;
   private zat g;
   private zamu h;
   private String i = null;
   private boolean j;
   private zjg k;
   private boolean l;
   private zbtw m;
   private int n;
   private boolean o = false;
   private boolean p = false;
   private boolean q = false;
   private boolean r = true;
   private zalw s;
   private zalw t;
   private zalw u;
   private zix v;
   private zix w;
   private boolean x = false;
   private boolean y = true;
   private int z;
   private int A;
   private int B = 0;
   private int C = 50;
   private int D = 75;
   private boolean E = false;
   private zalw F;
   private int G = 100;
   private boolean H = false;
   private int I = 0;
   private int J;
   private boolean K = false;
   private int L;
   private int M;
   private zbcs N;
   private zje O;
   private zbam P = new zbam();
   private int Q;
   private int R;
   com.aspose.cells.b.a.b.zs a = new com.aspose.cells.b.a.b.zs(0, 0);
   private boolean S = false;
   private float T = 0.0F;
   private boolean U = true;
   private int V = 1;
   private double W = 0.0D;
   private boolean X = false;

   zje u() {
      return this.O;
   }

   public zagd b() {
      return this.O;
   }

   zbcq(zig var1, zbcs var2, int var3) {
      this.b = var1;
      this.N = var2;
      this.c(var3);
      this.c = new zpu(var1, this, 12);
      this.f = new zalw(var1, 8);
      this.g = new zat(var1, this, 6);
      this.h = new zamu(var1, this);
      this.F = new zalw(var1, 20);
      this.m = new zbtw(var1, this);
      this.k = new zjg(var1, this);
      this.z = 150;
      this.s = new zalw(var1, 21);
      this.t = new zalw(var1, 22);
      this.u = new zalw(var1, 23);
      this.v = new zix(var1, this, 14, 16);
      this.w = new zix(var1, this, 15, 17);
      this.w.c().b(Color.getBlack());
      this.aE();
   }

   private void aE() {
      switch(this.m()) {
      case 7:
      case 8:
      case 10:
      case 11:
      case 15:
      case 16:
      case 19:
      case 20:
         this.f(100);
      case 9:
      case 12:
      case 13:
      case 14:
      case 17:
      case 18:
      case 21:
      case 22:
      case 23:
      case 24:
      case 25:
      case 26:
      case 27:
      case 28:
      case 29:
      case 30:
      case 31:
      case 32:
      case 33:
      case 34:
      case 35:
      case 36:
      case 40:
      case 41:
      case 42:
      case 43:
      case 44:
      case 45:
      case 47:
      case 48:
      case 50:
      case 51:
      case 52:
      case 53:
      case 54:
      case 55:
      case 56:
      case 58:
      case 59:
      case 63:
      default:
         break;
      case 37:
      case 38:
      case 39:
      case 57:
      case 64:
         this.B().b(1);
         break;
      case 46:
      case 49:
         this.O = new zje(this.b);
         this.O.a(this.k);
         this.h(true);
         break;
      case 60:
         this.f.a(0);
         break;
      case 61:
         this.b(true);
         break;
      case 62:
         this.B().b(1);
         this.b(true);
      }

      switch(this.m()) {
      case 37:
      case 38:
      case 39:
      case 40:
      case 41:
      case 42:
      case 57:
      case 58:
      case 61:
      case 62:
      case 63:
      case 64:
         this.f.f().a(3.0D);
         this.f.b().c(2);
         this.f.b().d(1);
      case 43:
      case 44:
      case 45:
      case 46:
      case 47:
      case 48:
      case 49:
      case 50:
      case 51:
      case 52:
      case 53:
      case 54:
      case 55:
      case 56:
      case 59:
      case 60:
      default:
      }
   }

   public boolean equals(Object obj) {
      if (obj == null) {
         return false;
      } else {
         if (obj instanceof zbcq) {
            zbcq var2 = (zbcq)obj;
            if (this != obj) {
               return false;
            }

            if (this.N != var2.N) {
               return false;
            }
         }

         return true;
      }
   }

   public int hashCode() {
      return (new Integer(this.aj() + 1)).hashCode() + this.N.hashCode();
   }

   zig v() {
      return this.b;
   }

   zpu w() {
      return this.c;
   }

   public zagn c() {
      return this.c;
   }

   zsq x() {
      if (this.d == null) {
         this.d = new zsq(this.b, this);
      }

      return this.d;
   }

   public zagq d() {
      if (this.d == null) {
         this.d = new zsq(this.b, this);
      }

      return this.d;
   }

   zsq y() {
      if (this.e == null) {
         this.e = new zsq(this.b, this);
      }

      this.e.a(false);
      return this.e;
   }

   public zagq e() {
      if (this.e == null) {
         this.e = new zsq(this.b, this);
      }

      this.e.a(false);
      return this.e;
   }

   zalw z() {
      return this.f;
   }

   public zahf f() {
      return this.f;
   }

   zat A() {
      return this.g;
   }

   public zafn g() {
      return this.g;
   }

   zamu B() {
      return this.h;
   }

   public zahh h() {
      return this.h;
   }

   public String i() {
      if (this.i == null) {
         return "Series" + (this.a() + 1);
      } else {
         return this.i.length() > 255 ? this.i.substring(0, 255) : this.i;
      }
   }

   public void a(String var1) {
      this.i = var1;
   }

   String C() {
      return this.i();
   }

   public zahq t() {
      return this.P;
   }

   boolean D() {
      return this.P.getCount() > 0;
   }

   public boolean j() {
      return this.j;
   }

   public void a(boolean var1) {
      this.j = var1;
   }

   zjg E() {
      return this.k;
   }

   public zage k() {
      return this.k;
   }

   public boolean F() {
      return this.l;
   }

   public void b(boolean var1) {
      this.l = var1;
   }

   zbtw G() {
      return this.m;
   }

   public zaii l() {
      return this.m;
   }

   public int m() {
      return this.n;
   }

   public void c(int var1) {
      this.n = var1;
   }

   public int H() {
      return this.M;
   }

   public void d(int var1) {
      this.M = var1;
   }

   public boolean I() {
      return this.x;
   }

   public void c(boolean var1) {
      this.x = var1;
      this.y = false;
   }

   boolean J() {
      return this.y;
   }

   public int K() {
      return this.z;
   }

   public void e(int var1) {
      if (var1 >= 0 && var1 <= 500) {
         this.z = var1;
      }

   }

   public int L() {
      return this.A;
   }

   public void f(int var1) {
      if (var1 >= -100 && var1 <= 100) {
         this.A = var1;
      }

   }

   public boolean M() {
      return this.o;
   }

   public void d(boolean var1) {
      this.o = var1;
   }

   public boolean N() {
      return this.p;
   }

   public void e(boolean var1) {
      this.p = var1;
   }

   public boolean O() {
      return this.q;
   }

   public void f(boolean var1) {
      this.q = var1;
   }

   zalw P() {
      return this.t;
   }

   public zahf n() {
      return this.t;
   }

   zalw Q() {
      return this.u;
   }

   public zahf o() {
      return this.u;
   }

   public boolean R() {
      return this.r;
   }

   public void g(boolean var1) {
      this.r = var1;
   }

   zalw S() {
      return this.s;
   }

   public zahf p() {
      return this.s;
   }

   zix T() {
      return this.v;
   }

   public zagc q() {
      return this.v;
   }

   zix U() {
      return this.w;
   }

   public zagc r() {
      return this.w;
   }

   public int V() {
      return this.B;
   }

   public void g(int var1) {
      this.B = var1 % 360;
   }

   public int W() {
      return this.C;
   }

   public void h(int var1) {
      if (var1 < 10) {
         this.C = 10;
      } else if (var1 > 90) {
         this.C = 90;
      } else {
         this.C = var1;
      }

   }

   public int X() {
      return this.D;
   }

   public void i(int var1) {
      if (var1 >= 5 && var1 <= 200) {
         this.D = var1;
      }

   }

   public boolean Y() {
      return this.E;
   }

   public void h(boolean var1) {
      this.E = var1;
   }

   zalw Z() {
      return this.F;
   }

   public zahf s() {
      return this.F;
   }

   public int aa() {
      return this.G;
   }

   public void j(int var1) {
      if (var1 > 300) {
         this.G = 300;
      } else {
         this.G = var1;
      }

   }

   public boolean ab() {
      return this.H;
   }

   public void i(boolean var1) {
      this.H = var1;
   }

   public int ac() {
      return this.I;
   }

   public void k(int var1) {
      this.I = var1;
   }

   public int ad() {
      return this.J;
   }

   public void l(int var1) {
      this.J = var1;
   }

   public void k(boolean var1) {
      this.K = var1;
   }

   public boolean ae() {
      Iterator var1 = this.k.iterator();

      zje var2;
      do {
         if (!var1.hasNext()) {
            return true;
         }

         var2 = (zje)var1.next();
      } while(var2.r() == 3);

      return false;
   }

   public boolean af() {
      Iterator var1 = this.k.iterator();

      zje var2;
      do {
         if (!var1.hasNext()) {
            return true;
         }

         var2 = (zje)var1.next();
      } while(var2.w() == 3);

      return false;
   }

   int ag() {
      return this.j() ? 2 : 1;
   }

   void n(int var1) {
      if (var1 == 2) {
         this.a(true);
      } else {
         this.a(false);
      }

   }

   int ah() {
      return this.L;
   }

   void o(int var1) {
      this.L = var1;
   }

   boolean a(int[] var1) {
      int[] var2 = var1;
      int var3 = var1.length;

      for(int var4 = 0; var4 < var3; ++var4) {
         int var5 = var2[var4];
         if (this.m() == var5) {
            return true;
         }
      }

      return false;
   }

   boolean b(int[] var1) {
      int[] var2 = var1;
      int var3 = var1.length;

      for(int var4 = 0; var4 < var3; ++var4) {
         int var5 = var2[var4];
         if (this.L == var5) {
            return true;
         }
      }

      return false;
   }

   zbcs ai() {
      return this.N;
   }

   int aj() {
      return this.N.i().indexOf(this);
   }

   public int a() {
      return this.Q;
   }

   public void a(int var1) {
      this.Q = var1;
   }

   boolean ak() {
      return this.m() == 37 || this.m() == 38 || this.m() == 39 || this.m() == 40 || this.m() == 41 || this.m() == 42 || this.m() == 57 || this.m() == 58 || this.m() == 60 || this.m() == 61 || this.m() == 62 || this.m() == 63 || this.m() == 64;
   }

   boolean al() {
      switch(this.m()) {
      case 37:
      case 38:
      case 39:
      case 40:
      case 41:
      case 42:
      case 57:
      case 58:
      case 60:
      case 61:
      case 62:
      case 63:
      case 64:
         if (this.z().g()) {
            return true;
         }

         return false;
      case 43:
      case 44:
      case 45:
      case 46:
      case 47:
      case 48:
      case 49:
      case 50:
      case 51:
      case 52:
      case 53:
      case 54:
      case 55:
      case 56:
      case 59:
      default:
         return false;
      }
   }

   boolean am() {
      return this.m() == 14;
   }

   boolean an() {
      switch(this.m()) {
      case 1:
      case 4:
      case 7:
      case 10:
      case 15:
      case 19:
      case 22:
      case 25:
      case 29:
      case 32:
      case 38:
      case 41:
      case 51:
      case 54:
         return true;
      case 2:
      case 3:
      case 5:
      case 6:
      case 8:
      case 9:
      case 11:
      case 12:
      case 13:
      case 14:
      case 16:
      case 17:
      case 18:
      case 20:
      case 21:
      case 23:
      case 24:
      case 26:
      case 27:
      case 28:
      case 30:
      case 31:
      case 33:
      case 34:
      case 35:
      case 36:
      case 37:
      case 39:
      case 40:
      case 42:
      case 43:
      case 44:
      case 45:
      case 46:
      case 47:
      case 48:
      case 49:
      case 50:
      case 52:
      case 53:
      default:
         return false;
      }
   }

   boolean ao() {
      switch(this.m()) {
      case 1:
      case 4:
         return true;
      default:
         return false;
      }
   }

   boolean ap() {
      switch(this.m()) {
      case 2:
      case 5:
      case 8:
      case 11:
      case 16:
      case 20:
      case 23:
      case 26:
      case 30:
      case 33:
      case 39:
      case 42:
      case 52:
      case 55:
         return true;
      case 3:
      case 4:
      case 6:
      case 7:
      case 9:
      case 10:
      case 12:
      case 13:
      case 14:
      case 15:
      case 17:
      case 18:
      case 19:
      case 21:
      case 22:
      case 24:
      case 25:
      case 27:
      case 28:
      case 29:
      case 31:
      case 32:
      case 34:
      case 35:
      case 36:
      case 37:
      case 38:
      case 40:
      case 41:
      case 43:
      case 44:
      case 45:
      case 46:
      case 47:
      case 48:
      case 49:
      case 50:
      case 51:
      case 53:
      case 54:
      default:
         return false;
      }
   }

   boolean aq() {
      switch(this.m()) {
      case 2:
      case 5:
         return true;
      default:
         return false;
      }
   }

   boolean ar() {
      switch(this.m()) {
      case 2:
      case 8:
      case 11:
      case 16:
      case 20:
      case 23:
      case 26:
      case 30:
      case 33:
      case 52:
      case 55:
         return true;
      default:
         return false;
      }
   }

   boolean as() {
      switch(this.m()) {
      case 35:
      case 36:
      case 44:
      case 45:
      case 46:
      case 47:
      case 48:
      case 49:
         return true;
      case 37:
      case 38:
      case 39:
      case 40:
      case 41:
      case 42:
      case 43:
      default:
         return false;
      }
   }

   boolean at() {
      switch(this.m()) {
      case 57:
      case 58:
      case 59:
         return true;
      default:
         return false;
      }
   }

   boolean au() {
      switch(this.m()) {
      case 12:
      case 13:
         return true;
      default:
         return false;
      }
   }

   boolean av() {
      switch(this.m()) {
      case 12:
      case 13:
      case 60:
      case 61:
      case 62:
      case 63:
      case 64:
         return true;
      default:
         return false;
      }
   }

   boolean aw() {
      Iterator var1 = this.E().iterator();

      zje var2;
      do {
         if (!var1.hasNext()) {
            return false;
         }

         var2 = (zje)var1.next();
      } while(!var2.o().t());

      return true;
   }

   public int ax() {
      return this.R;
   }

   public void b(int var1) {
      this.R = var1;
   }

   public void j(boolean var1) {
      this.S = var1;
   }

   public float ay() {
      if (this.U) {
         switch(this.n) {
         case 36:
         case 47:
         case 48:
            return 25.0F;
         }
      }

      return this.T;
   }

   public void a(float var1) {
      this.T = var1;
      this.U = false;
   }

   public int az() {
      return this.V;
   }

   public void m(int var1) {
      this.V = var1;
   }

   public double aA() {
      return this.W;
   }

   public void a(double var1) {
      this.W = var1;
   }

   boolean aB() {
      Iterator var1 = this.k.iterator();

      zje var2;
      do {
         if (!var1.hasNext()) {
            return true;
         }

         var2 = (zje)var1.next();
      } while(var2.o().w());

      return false;
   }

   int aC() {
      switch(this.m()) {
      case 0:
      case 1:
      case 2:
      case 3:
      case 4:
      case 5:
         return 2;
      case 6:
      case 7:
      case 8:
      case 9:
      case 10:
      case 11:
         return 4;
      case 12:
      case 13:
         return 9;
      case 14:
      case 15:
      case 16:
      case 17:
      case 18:
      case 19:
      case 20:
         return 5;
      case 21:
      case 22:
      case 23:
      case 24:
      case 25:
      case 26:
      case 27:
      case 28:
      case 29:
      case 30:
      case 31:
      case 32:
      case 33:
      case 34:
      case 50:
      case 51:
      case 52:
      case 53:
      case 54:
      case 55:
      case 56:
      case 65:
      case 66:
      case 67:
      case 68:
      case 69:
      case 70:
      case 71:
      case 72:
         return 10;
      case 35:
      case 36:
      case 44:
      case 45:
      case 46:
      case 47:
      case 48:
      case 49:
         return 1;
      case 37:
      case 38:
      case 39:
      case 40:
      case 41:
      case 42:
      case 43:
         return 7;
      case 57:
      case 58:
         return 8;
      case 59:
         return 3;
      case 60:
      case 61:
      case 62:
      case 63:
      case 64:
         return 6;
      default:
         return 100;
      }
   }

   protected void finalize() throws Exception {
      this.l(false);
   }

   public void aD() {
      this.l(true);
      com.aspose.cells.b.a.zg.a(this);
   }

   protected void l(boolean var1) {
      if (!this.X) {
         if (var1) {
            if (this.c != null) {
               this.c.E();
            }

            if (this.g != null) {
               this.g.l();
            }

            if (this.v != null) {
               this.v.H();
            }

            if (this.w != null) {
               this.w.H();
            }

            int var2;
            if (this.k != null) {
               for(var2 = 0; var2 < this.k.getCount(); ++var2) {
                  zje var3 = this.k.b(var2);
                  if (var3 != null) {
                     var3.L();
                  }
               }
            }

            if (this.O != null) {
               this.O.L();
            }

            if (this.m != null) {
               for(var2 = 0; var2 < this.m.getCount(); ++var2) {
                  zbtu var4 = this.m.c(var2);
                  if (var4 != null) {
                     var4.v();
                  }
               }
            }
         }

         this.X = true;
      }

   }
}
